<template>
  <div class="card">
    <h2><i class="fas" :class="'fa-' + icon"></i> {{ title }}</h2>
    <p>基于 DeepSeek 分析结果自动生成测试场景：</p>
    <ul>
      <li v-for="(feature, index) in features" :key="index">{{ feature }}</li>
    </ul>
  </div>
</template>

<script>
export default {
  name: 'TestCaseCard',
  props: {
    title: {
      type: String,
      required: true
    },
    icon: {
      type: String,
      required: true
    },
    features: {
      type: Array,
      required: true
    }
  }
}
</script>

<style scoped>
/* Styles are inherited from parent */
</style>